package com.woniuxy.service;

import com.github.pagehelper.PageInfo;
import com.woniuxy.entitys.TbDepartment;
import com.woniuxy.entitys.TbHospital;
import com.woniuxy.entitys.TbHospitalManager;

import java.util.List;

public interface DepartmentService {
    List<TbDepartment> getAllDepartment();

    List<TbDepartment> selDepartmentsByUid(Integer uid);

    int softdelDep(Integer did);

    List<TbDepartment> selByCondition(Integer uid,String keyword);

    int saveAdd(String dname, Integer uid);

    List<TbHospital> getHospitals();

    List<TbDepartment> getDepartments();

    PageInfo<TbDepartment> getDepartmentByHid(Integer hid, Integer pageNum, Integer pageSize);
}
